package com.hl.sfzy.mapper.course;

import com.hl.sfzy.entity.course.Courseorder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* @author fxy
* @description 针对表【courseOrder】的数据库操作Mapper
* @createDate 2024-09-11 11:41:54
* @Entity com.hl.sfzy.entity.course.Courseorder
*/
@Mapper
@Repository
public interface CourseorderMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Courseorder record);

    int insertSelective(Courseorder record);

    Courseorder selectByPrimaryKey(@Param("courseId") Long courseId, @Param("userId") Long userId);

    int updateByPrimaryKeySelective(Courseorder record);

    int updateByPrimaryKey(Courseorder record);

}
